<?php

require_once('inc.config.php');

if(!isset($_GET["qid"])){
	header("Location:error.php");
	exit;
}

if(!isLogin()){
	header("Location:register.php?msg=error3");
	exit;
}


$useTemplate   = 'qqhouse_detail.html';

$page = new QuickSkin ($useTemplate);

template_ini($page);


$info = $myQgqzhouse->getQghouseInfo($_GET["qid"]);
$goldlist = $myAgent->getGoldenList();
$clist = $myHouse->getCollection();

$page->assign($info);
$page->assign("goldlist" , $goldlist);
$page->assign("indexcls" , "nv_current");
$page->assign("clist" , $clist);
$page->output();


ob_end_flush();

?>
